<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>RuoYi Node API 服务</title>
  <style>
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
      max-width: 800px;
      margin: 0 auto;
      padding: 2rem;
      line-height: 1.6;
    }
    h1 {
      color: #1890ff;
      text-align: center;
      border-bottom: 1px solid #eee;
      padding-bottom: 1rem;
    }
    .description {
      background-color: #f5f5f5;
      border-radius: 4px;
      padding: 1rem;
      margin-bottom: 2rem;
    }
    .api-list {
      list-style: none;
      padding: 0;
    }
    .api-item {
      background-color: #fafafa;
      border-left: 4px solid #1890ff;
      padding: 1rem;
      margin-bottom: 1rem;
      border-radius: 0 4px 4px 0;
    }
    .method {
      font-weight: bold;
      color: #1890ff;
      margin-right: 1rem;
    }
    footer {
      margin-top: 2rem;
      text-align: center;
      color: #888;
      font-size: 0.9rem;
    }
  </style>
</head>
<body>
  <h1>RuoYi Node API 服务</h1>
  
  <div class="description">
    <p>这是RuoYi系统的Node.js + TypeScript + Express重构版本的API服务。系统已成功启动，您可以开始使用以下API接口：</p>
  </div>
  
  <ul class="api-list">
    <li class="api-item">
      <span class="method">GET</span> <code>/api</code> - API根路径，返回服务状态
    </li>
    <li class="api-item">
      <span class="method">GET</span> <code>/api/users</code> - 获取用户列表
    </li>
    <li class="api-item">
      <span class="method">POST</span> <code>/api/login</code> - 用户登录接口
    </li>
  </ul>
  
  <div class="description">
    <p>完整API文档请访问：<a href="/api-docs">/api-docs</a></p>
  </div>
  
  <footer>
    <p>Copyright © 2023 RuoYi Node</p>
  </footer>
</body>
</html> 